package liuyuyang.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "tb_course")
public class Course {
    @TableId(value = "c_id", type = IdType.AUTO)
    private Integer cid;

    private String cname;

    @TableField(value = "`desc`")
    private String desc;
}
